﻿// Decompiled with JetBrains decompiler
// Type: DnProcessSimulateCommands.GrippedObjectList.CCCoSetGrippedObjectListCmd
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll

using System.Windows.Forms;
using Tecnomatix.Engineering;
using Tecnomatix.Engineering.Ui;


namespace DnProcessSimulateCommands.GrippedObjectList;

public class CCCoSetGrippedObjectListCmd : TxButtonCommand
{
  private CCApSetGrippedObjectsEnabler _enabler;

  public CCCoSetGrippedObjectListCmd() => this._enabler = new CCApSetGrippedObjectsEnabler();

  public virtual string Bitmap => StringTable.CMD_BITMAP;

  public virtual string LargeBitmap => StringTable.CMD_LARGE_BITMAP;

  public virtual string MediumBitmap => StringTable.CMD_MEDIUM_BITMAP;

  public virtual ITxImage Image => (ITxImage) TxImageManager.GetImageByKey("SetGrippedObjectsList");

  public virtual string Category => StringTable.CMD_CATEGORY;

  public virtual ITxCommandEnabler CommandEnabler => (ITxCommandEnabler) this._enabler;

  public virtual string Description => StringTable.CMD_DESCRIPTION;

  public virtual string Name => StringTable.CMD_NAME;

  public virtual string Tooltip => StringTable.CMD_TOOLTIP;

  public virtual void Execute(object cmdParams)
  {
    ((Control) new CUiSetGrippedObjectsForm()).Show();
  }

  public virtual bool Licensed => TxCommandLicenser.SetGrippedObjectsLicense;
}
